// Decompiled on 周六 2月 22 19:31:49 CST 2025 with Zomboid Decompiler v0.1.3 using Vineflower.
package zombie.inventory;

public enum ItemType {
    None(0),
    Weapon(1),
    Food(2),
    Literature(3),
    Drainable(4),
    Clothing(5),
    Key(6),
    KeyRing(7),
    Moveable(8),
    AlarmClock(9),
    AlarmClockClothing(10);

    private int index;

    private ItemType(int int1) {
        this.index = int1;
    }

    public int index() {
        return this.index;
    }

    public static ItemType fromIndex(int value) {
        return ((ItemType[])ItemType.class.getEnumConstants())[value];
    }
}
